/**
 *@ClassName Func
 *
 *@Author ykx
 *@Date  2024/6/16 20:17
 *@Version 1.0
 */
fun main(args: Array<String>) {
    print1star()
    print3star()
    print5star()
    print7star()
    print5star()
    print3star()
    print1star()
}

fun print1star() {
    println("   *   ")
}

fun print3star() {
    println("  ***  ")
}

fun print5star() {
    println(" ***** ")
}

fun print7star() {
    println("*******")
}